home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / tcp_ip / jnos / cmdshelp / ps < prev    next >
Text File  |  1994-08-09  |  2KB  |  42 lines

  1.  
  2. ps
  3.  
  4.      Display process status information. The first line shows the time
  5. the system has been running, the active stack segment, and the
  6. interrupt stack usage. Next it displays all processes in the system.
  7. The fields are as follows:
  8.  
  9.      PID - Process ID (the segment of the process descriptor).
  10.  
  11.      SP - The current value of this process' stack pointer.
  12.  
  13.      stksize - The size of the stack allocated to this process.
  14.  
  15.      maxstk - The apparent peak stack utilization of this process.
  16.      This is done in a  somewhat  heuristic  fashion, so the numbers
  17.      should be treated as approximate. If this number is close to the
  18.      stksize figure, the system is likely to crash.  Please notify the
  19.      author if you examine such a situation. (The program should be
  20.      recompiled to give the process a larger allocation when it is
  21.      started.)
  22.  
  23.      event - The event this process is waiting for, if it is not
  24.      runnable.
  25.  
  26.      fl - Process status flags. There are three: I (Interrupts
  27.      enabled), W  (Waiting  for event) and S (suspended). The I flag
  28.      is set whenever a task has executed a pwait() call (wait for
  29.      event) without first disabling hardware interrupts.  Only tasks
  30.      that wait for hardware interrupt events will turn off this flag;
  31.      this is done to avoid critical sections and missed  interrupts.
  32.      The  W flag  indicates  that  the  process is waiting for an
  33.      event; the 'event' column will be non-blank. Note that although
  34.      there may be several runnable processes at  any  time  (shown  in
  35.      the 'ps' listing as those without the W flag and with blank event
  36.      fields) only one process is actually running at any  one  instant
  37.      (The  Refrigerator  Light  Effect  says that the 'ps' command is
  38.      always the one running when this display is generated.)
  39.  
  40.  
  41.  
  42.